package com.wuming.house.service;

import com.wuming.house.model.GoodsCate;

import java.util.List;

/**
 * @author xuhuai
 * @createTime 2019/8/16 14:29
 * @Description:
 */
public interface GoodsCateService {

    List<GoodsCate> getGoodsCatesByPage(String name,int pageIndex,int pageSize);

    int getTotal(String name);

    void save(GoodsCate goodsCate);

    void modifyGoodsCate(GoodsCate goodsCate);

    GoodsCate getGoodsCateById(Integer id);

    List<GoodsCate> getGoodsCatesByPId(Integer pId);

    void delete(Integer id);
}
